package com.gxa.saas.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.saas.core.entity.Admin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface AdminMapper extends BaseMapper<Admin> {

    @Select("select * from admin where a_name = #{aName} and a_pwd = #{aPwd}")
    Integer login(@Param("aName") String aName, @Param("aPwd") String aPwd);
}
